const runtime.arenaL2Bits
7 uses
runtime (current package)
malloc.go#L284: arenaL2Bits = heapAddrBits - logHeapArenaBytes - arenaL1Bits
malloc.go#L288: arenaL1Shift = arenaL2Bits
malloc.go#L293: arenaBits = arenaL1Bits + arenaL2Bits
malloc.go#L774: l2 = (*[1 << arenaL2Bits]*heapArena)(sysAllocOS(unsafe.Sizeof(*l2), "heap index"))
malloc.go#L918: l2 := (*[1 << arenaL2Bits]*heapArena)(atomic.Loadp(unsafe.Pointer(&h.arenas[i])))
mheap.go#L150: arenas [1 << arenaL1Bits]*[1 << arenaL2Bits]*heapArena
mheap.go#L657: return uint(i) & (1<<arenaL2Bits - 1)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)